<template>
	<view>
		<view class="ddd">
		
		</view>
			<van-share-sheet
		  v-model:show="showShare"
		  title="立即分享给好友"
		  :options="options"
		/>

	</view>
</template>

<script>
	import { ref } from 'vue';
	export default {
		 setup() {
		    const showShare = ref(false);
		    const options = [
		      [
		        { name: '微信', icon: 'wechat' },
		        { name: '朋友圈', icon: 'wechat-moments' },
		        { name: '微博', icon: 'weibo' },
		        { name: 'QQ', icon: 'qq' },
		      ],
		      [
		        { name: '复制链接', icon: 'link' },
		        { name: '分享海报', icon: 'poster' },
		        { name: '二维码', icon: 'qrcode' },
		        { name: '小程序码', icon: 'weapp-qrcode' },
		      ],
		    ];
		
		  },
		data() {
			return {
				options,
				showShare,
			}
		},
		methods: {
			
		}
	}
</script>

<style>
.ddd{
	width: 100rpx;
	height: 100rpx;
	background-color: aqua;
}
</style>
